#include "BaseModel.h"

CBaseModel::CBaseModel(void)
{
	m_szName = "";
	m_szPath = "";
	m_nNumVerts = 0;
	m_nNumTris = 0;
	m_eType = nsModel::MODEL_TYPE_NONE;
	m_phAssetID = PH_INVALID_MODEL_ID;
	m_bLoaded = false;
	m_nNameLength = 0;
}

CBaseModel::CBaseModel(EModelType _eModelType) : m_eType(_eModelType)
{
	m_szName = "";
	m_szPath = "";
	m_nNumVerts = 0;
	m_nNumTris = 0;
	m_phAssetID = PH_INVALID_MODEL_ID;
	m_bLoaded = false;
	m_nNameLength = 0;
}

bool CBaseModel::Unload(bool _bReloading)
{
	if(_bReloading)
		return false;

	m_szName = "";
	m_szPath = "";
	m_nNumVerts = 0;
	m_nNumTris = 0;
	m_eType = nsModel::MODEL_TYPE_NONE;
	m_phAssetID = PH_INVALID_MODEL_ID;
	m_bLoaded = false;
	m_nNameLength = 0;

	return true;
}